<div class="bigtitle"><?=lang('contactinfo_title')?></div>
<table class='tblcontent' cellspacing='0' cellpadding='0' border='0'>
	<tr>
		<td>
			<?=form_open(site_url('contactinfo/save'),array('name'=>'frm','onsubmit'=>'return f_validate()'),array('hidden_status'=>''))?>			
			<table class='tblinputform' cellspacing='1' cellpadding='2' border='0' width='100%'>
				<tr>
					<th width='10%'><?=lang('contactinfo_contactemail')?></th>
					<td width='90%'><input type='text' name='txt_contactemail' style='width:300px;' maxlength='100' value="<?=$detail->contactemail?>"/></td>
				</tr>
				<tr>
					<th><?=lang('contactinfo_contactinfo')?></th>
					<td><?=form_fckeditor('txt_contactinfo',$detail->contactinfo,400)?></td>
				</tr>
			</table>
			<div class='ctrlbtn'>
				<input type='button' name='btn_edit' value='<?=lang('label_save')?>' onclick='return f_validate()'/>
				<span class='alertmsg'><?=$detail->alertmsg?></span>
			</div>
			<?=form_close()?>
		</td>
	</tr>
</table>
<script type='text/javascript'>
	f_onload();
	function f_onload(){ document.frm.txt_contactemail.focus();}
	function f_validate(){
		form = document.frm;		
		form.submit();
	}
</script>